package com.tx.java.chapter15.exercise.exercise15_2_8;

/**
 * @author ：tx
 * @description：实现接口时  定义类型
 * @date ：Created in 2019/7/21 16:16
 * @modified By：
 * @version:
 */
public class Eason implements Singer<String> {
    @Override
    public String singSongs(String s) {
        System.out.println(s);
        return "xxx";
    }

    public static void main(String[] args) {
        Singer singer = new Eason();
        singer.singSongs("www");
    }
}
